package com.briup.day11;

import com.briup.day11.bean.Teacher;

/**
 * @author ThinkBook
 */
public class Test01_Teacher {
    public static void main(String[] args) {
        //默认调用无参构造方法
        Teacher teacher = new Teacher();
        teacher.show();
        //调用其他构造方法
        Teacher teacher1 = new Teacher("zuizui",15000);
        teacher1.show();
        Teacher teacher2 = new Teacher("huihui");
        teacher2.show();
    }
}
